package com.asset.dao;

import com.asset.pojo.AssetUseHistory;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface AssetUseHistoryMapper {
    public void addHistory(AssetUseHistory assetUseHistory);
    public void updateHistory(AssetUseHistory assetUseHistory);
    public List<AssetUseHistory> getHistoryByKey(long assetid);
    public AssetUseHistory getHistoryBySign(int sign);
	public List<AssetUseHistory> listHistoryAll();
	public List<AssetUseHistory> listHistoryPage(@Param("recordStart")Integer recordStart, @Param("recordEnd") Integer recordEnd);
}